package com.wwyx.pojo;

import java.io.Serializable;
import java.util.Date;

public class Character implements Serializable {
    private Integer characterId;

    private String characterName;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Character(Integer characterId, String characterName, Date createTime, Date updateTime) {
        this.characterId = characterId;
        this.characterName = characterName;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Character() {
        super();
    }

    public Integer getCharacterId() {
        return characterId;
    }

    public void setCharacterId(Integer characterId) {
        this.characterId = characterId;
    }

    public String getCharacterName() {
        return characterName;
    }

    public void setCharacterName(String characterName) {
        this.characterName = characterName == null ? null : characterName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}